/* ======使用注明=======
 //#import "SEGcustomContentView.h"
 //@property (nonatomic, strong)SEGcustomContentView *varcustomContentView; <#注释#>
 // 控件数据模型创建
 SEGcustomContentViewModel *data = [[SEGcustomContentViewModel alloc]init];
 // 控件内容布局计算
 SEGcustomContentViewLayout *layout = [[SEGcustomContentViewLayout alloc]initWithData:data type:SEGEnumcustomContentViewType_NO];
 // 内容布局填充到视图
 SEGcustomContentView *varcustomContentView = [[SEGcustomContentView alloc]initWithFrame:CGRectZero];
 //varcustomContentView.delegate = self;
 varcustomContentView.left = 0;
 varcustomContentView.top = 0;
 varcustomContentView.width = LYScreenWidth()();
 varcustomContentView.height = varcustomContentView.layout.totalHeight;
 [varcustomContentView setWithLayout:layout];
 
 */
#import "SEGFocusView.h"
#import "SEGMarketView.h"
#import "SEGNeighbourView.h"
#import "SEGTopicTextView.h"
#import "SEGTopicPicView.h"
#import "SEGMarketDetailView.h"

#if __has_include(<Commom/SEGText.h>)
#import <Commom/SEGText.h>
#else
#import "SEGText.h"
#endif

#import <UIKit/UIKit.h>

#import "SEGcustomContentViewModel.h"

@protocol SEGCustomContentViewDelegate <NSObject>
@optional
//-(void)SEGcustomContentViewcontentTextLabel:(SEGLabel*)sender;
//-(void)SEGcustomContentViewcontentTitleLabel:(SEGLabel*)sender;
-(void)customContentViewLikeLabel:(SEGLabel*)sender;
-(void)customContentViewCommentLabel:(SEGLabel*)sender;
-(void)customContentViewMarketView:(SEGMarketView*)view;//点击集市
@end


@interface SEGcustomContentView : UIView
@property (nonatomic, strong,readonly)SEGcustomContentViewLayout *layout;
- (void)setWithLayout:(SEGcustomContentViewLayout *)layout;

@property (nonatomic, strong) SEGLabel *contentTextLabel; // 主内容
@property (nonatomic, strong) SEGLabel * commentLabel; // 评论
@property (nonatomic, strong) SEGLabel *likeLabel; // 点赞

@property (nonatomic, strong)SEGNeighbourView *neighbourView; //邻里圈视图

@property (nonatomic, strong)SEGMarketView *marketView; //集市视图

@property (nonatomic, strong)SEGFocusView *focusView; //喜欢看点，分享看点视图公用

@property (nonatomic, strong)SEGTopicTextView *topicTextView; //文字话题视图
@property (nonatomic, strong)SEGTopicPicView *topicPicView; //图文话题视图
@property (nonatomic, strong)SEGMarketDetailView *marketDetailView; //集市详情视图

@property (nonatomic, assign) id<SEGCustomContentViewDelegate> delegate;// 代理
@end
